package cmfg;

public class BITSnodeAgentDataDaoImpl implements AgentDataDao{
	private double[] agentData;
	private double agentInitialCp;
	private int snodeLinkServiceType;
	private double[] snodeLinkServiceDisPara=new double[2];
	@Override
	public double[] getAgentData() {
		return agentData;
	}

	@Override
	public void setAgentData(double[] agentData) {
		this.agentData=agentData;
		agentInitialCp=agentData[0];
		snodeLinkServiceType=(int) agentData[1];
		snodeLinkServiceDisPara[0]=agentData[2];
		snodeLinkServiceDisPara[1]=agentData[3];
	}

	public double getAgentInitialCp() {
		return agentInitialCp;
	}

	public int getSnodeLinkServiceType() {
		return snodeLinkServiceType;
	}

	public double[] getSnodeLinkServiceDisPara() {
		return snodeLinkServiceDisPara;
	}
	
}
